package h.a.a.k;

/* compiled from: DeleteQuery */
public class d<T> extends a<T> {

    /* compiled from: DeleteQuery */
    public static final class b<T2> extends b<T2, d<T2>> {
        public b(h.a.a.a aVar, String str, String[] strArr, a aVar2) {
            super(aVar, str, strArr);
        }

        public a a() {
            return new d(this, this.b, this.a, (String[]) this.c.clone(), null);
        }
    }

    public d(b bVar, h.a.a.a aVar, String str, String[] strArr, a aVar2) {
        super(aVar, str, strArr);
    }

    public void c() {
        a();
        h.a.a.h.a database = this.a.getDatabase();
        if (database.a()) {
            this.a.getDatabase().i(this.c, this.d);
            return;
        }
        database.c();
        try {
            this.a.getDatabase().i(this.c, this.d);
            database.g();
        } finally {
            database.b();
        }
    }
}
